package com.sinry.api.client.feign.user;

import com.sinry.api.client.interceptors.FeignRequestInterceptor;
import com.sinry.common.core.domain.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author linxinlei
 * @project sinry-cloud
 * @description 远程接口 - 用户
 * @date 2022/5/15
 **/
@FeignClient(name = "sinry-user-service", path = "/user", configuration = FeignRequestInterceptor.class)
public interface UserClient {

    @GetMapping("/get")
    UserVo getUser();

}
